//
//  rectangle.cpp
//  CodeLab07_objects1A
//
//  Created by Matthew Parker on 3/25/13.
//
//

#include "rectangle.h"

rectangle::rectangle(){
}

rectangle::rectangle(float w, float h, float x, float y, float r, float g, float b) :
shape(x, y, r, g, b){
    width = w;
    height = h;
}

void rectangle::display(){
    shape::display();
    ofRect(pos, width, height);
}